<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<title>手机端系统</title>
	<%@ include file="/common/include-core.jsp" %>
    <script type="text/javascript">
    if (self != top) {    
   	 	top.location.href=self.location.href;
 	 }  
    </script>
</head>
<body>
<header>
			<div class="logo fl"></div>
				<h1>手机端系统
				<c:if test="${not empty sessionScope.store}">
				 --- ${sessionScope.store}
				</c:if>
				 </h1>	
		</header>
		<div class="main auto cf">
			<section class="nav"> 
				<h2><img src="${ctx }/static/img/menu_management.jpg" width="100%" />  </h2>
				<shiro:hasPermission name="front:manager">  
				<dl>
					<dt>前台</dt>
					<shiro:hasPermission name="front:manager:accept">  
				    	<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/access/query.htm?type=1">接待</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="front:manager:appoint">  
				    	<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/mba/query.htm?type=1&isVisited=false&validClass=true">预约</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="front:manager:pay">  
					    <dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/pay/topaylistmore.htm">收银</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="customerservice:manager:leavestore">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/pay/toleavestore.htm">离店结算</a></dd>
					</shiro:hasPermission>
				</dl>
				</shiro:hasPermission>
				<shiro:hasPermission name="customerservice:manager:manager">  
				<dl>
					<dt>客服管理</dt>
					<shiro:hasPermission name="customerservice:zixun:manager">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/service/query.htm?type=1&accept=false">客户咨询</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="customerservice:package:manager">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/spackage/customer.htm?type=1&typeName=12">客户套餐</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="customerservice:manager:appoint">  
						  <dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/mba/query.htm?type=1&typeName=12&isVisited=false&validClass=true">客户预约</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="customerservice:manager:bingli">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/dcase/customer.htm?type=1&typeName=12">病历</a></dd>
				    </shiro:hasPermission>
					
					<shiro:hasPermission name="customerservice:manager:roomappoint">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/bed/toorderRoom.htm">房间预订</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="customerservice:manager:customerin">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/bed/tocustomerbyparam.htm">客户入住</a></dd>
					</shiro:hasPermission>
				   
				</dl>
				</shiro:hasPermission>
				<shiro:hasPermission name="medicalbeauty:manager:manager">  
				<dl class="ymnav">
					<dt>医美管理</dt>
					<shiro:hasPermission name="medicalbeauty:zixun:manager">  
					  <dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/mb/query.htm?type=1&accept=false">医美咨询</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="medicalbeauty:yuyue:manager">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/mba/query.htm?type=1&typeName=11&isVisited=false&validClass=true">医美预约</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="medicalbeauty:manager:bingli">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/dcase/customer.htm?type=1&typeName=11">病历</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="medicalbeauty:manager:gongzz">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/bed/getcustomerpackage.htm?servicetype=11">医生工作站</a></dd>
			        </shiro:hasPermission>
			   	</dl>
				</shiro:hasPermission>
				<shiro:hasPermission name="care:manager:manager">  
				<dl>
					<dt>照护管理</dt>
				<shiro:hasPermission name="care:manager:jieshao">
					<dd><a href="javascript:;" class="iframe_src" data-src="">产品介绍</a></dd>
				</shiro:hasPermission>
				<shiro:hasPermission name="care:manager:nurse">
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/bed/getcustomerpackage.htm?servicetype=12">护士工作站</a></dd>
				</shiro:hasPermission>
				<shiro:hasPermission name="care:manager:record">
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/roomRecorde/tolookward.htm?status=2">巡查记录</a></dd> 
				</shiro:hasPermission>
				</dl>
				</shiro:hasPermission>
				<shiro:hasPermission name="health:manager:manager">  
				<dl>
					<dt>健康管理</dt>		
					<shiro:hasPermission name="health:zixun:manager">  
				    	<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/health/query.htm?type=1&accept=false">健康咨询</a></dd>			
					</shiro:hasPermission>
					<shiro:hasPermission name="health:manager:appoint">
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/mba/query.htm?type=1&typeName=13&isVisited=false&validClass=true">健康预约</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="health:manager:bingli">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/dcase/customer.htm?type=1&typeName=13">病历</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="health:manager:gongzz">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/bed/getcustomerpackage.htm?servicetype=13">医生工作站</a></dd>
					</shiro:hasPermission>
				</dl>
				</shiro:hasPermission>
				<shiro:hasPermission name="finance:manager:manager">  
				<dl>
					<dt>财务部</dt>
					<shiro:hasPermission name="package:manager:manager">  
				    	<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/spackage/query.htm?page=1">套餐定义</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="project:manager:manager">  
				    	<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/sproject/query.htm?type=1">服务单项定义</a></dd>
					</shiro:hasPermission>
					<%-- <dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/pay/topaylist.htm">支付</a></dd> --%>
					<shiro:hasPermission name="finance:manager:stat">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/statistics/query.htm?type=1&t=t&status=1">统计</a></dd>
					</shiro:hasPermission>
				</dl>
				</shiro:hasPermission>
				<shiro:hasPermission name="housekeeper:manager:manager">  
				<dl>
					<dt>管家部</dt>
					<%-- <shiro:hasPermission name="housekeeper:manager:cailist">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/veg/toVegfood.htm">菜品列表</a></dd>
					</shiro:hasPermission> --%>
					<shiro:hasPermission name="customerservice:manager:roomlist">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/room/listroom.htm">房间列表</a></dd>
					</shiro:hasPermission>
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/veg/getvegdic.htm">用餐名称</a></dd>
					<shiro:hasPermission name="housekeeper:manager:zhouqidingyi">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/veg/tolistfoodperiod.htm">周期定义</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="housekeeper:manager:candingyi">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/veg/toevgdefine.htm?flag=1">营养餐定义</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="housekeeper:manager:cusdiancan">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/veg/toevgdefine.htm?flag=2">客户点餐</a></dd> 
					</shiro:hasPermission>
					<shiro:hasPermission name="housekeeper:manager:cusdiancanlist">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/veg/tocustomervegrecord.htm">客户点餐记录</a></dd> 
					</shiro:hasPermission>
					<shiro:hasPermission name="housekeeper:manager:dingcansta">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/veg/getgjbvegcount.htm">订餐统计</a></dd> 
					</shiro:hasPermission>
					<shiro:hasPermission name="housekeeper:manager:fenfacan">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/veg/getgjbdistribute.htm">分发营养餐</a></dd> 
					</shiro:hasPermission>
					<shiro:hasPermission name="housekeeper:manager:lose">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/GoodsSpend/goodsspend.htm">客户消耗品登记</a></dd> 
					</shiro:hasPermission>
					<shiro:hasPermission name="housekeeper:manager:station">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/bed/toGjbbedStation.htm">管家部工作站</a></dd>
					 </shiro:hasPermission>
					<shiro:hasPermission name="housekeeper:manager:store">  
						<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/instore/query.htm">仓库管理</a></dd>
					 </shiro:hasPermission>
				</dl>
				</shiro:hasPermission>
				<shiro:hasPermission name="sys:manager:manager">  
				<dl>
					<dt>系统管理</dt>
				<shiro:hasPermission name="staff:manager:manager">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/staff/query.htm?page=1">员工管理</a></dd>
				</shiro:hasPermission>
				<shiro:hasPermission name="role:manager:manager">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/role/query.htm?type=1">角色管理</a></dd>
					</shiro:hasPermission>
				<shiro:hasPermission name="store:manager:manager">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/company/query.htm?type=1">实体店管理</a></dd>
					</shiro:hasPermission>
				<shiro:hasPermission name="dept:manager:manager">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/dept/query.htm?type=1">部门管理</a></dd>
					</shiro:hasPermission>
				<shiro:hasPermission name="res:manager:manager">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/res/query.htm?type=1">资源管理</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="druid:manager:manager">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/druid">数据库监控</a></dd>
					</shiro:hasPermission>
					<shiro:hasPermission name="customer:manager:transfer">  
					<dd><a href="javascript:;" class="iframe_src" data-src="${ctx }/cus_company/query.htm?type=1">转店管理</a></dd>
					</shiro:hasPermission>
				</dl>
				</shiro:hasPermission>
			</section>
			<div class="right_box">
				<div class="breadcrumbs mt10 ml10 mr10">
					<span><a href="#">客服管理</a></span>&gt;&gt;<span>客户管理</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<span>用户名: <a href="javascript:void(0);"  id="toChangePwd"><shiro:principal/></a></span>
					<span>角色: ${sessionScope.rolenames}</span>	
					<span  class="quit"><a href="${ctx}/auth/logout" id="logout">退出</a></span>
					<span class="task"><a href="javascript:void(0);"  class="iframe_src" data-src="${ctx }/task/list.htm?type=1">我的任务<i id="mytasknum">${taskCount}</i></a></span>	
				</div>	
				<div class="uesrinfo cf">
					<%-- <div class="fl">
						<span>用户名: <a href="javascript:void(0);"  id="toChangePwd"><shiro:principal/></a></span>
						<span>角色: ${sessionScope.rolenames}</span>
						<span><a href="javascript:void(0);"  class="iframe_src" data-src="${ctx }/task/list.htm?type=1">我的任务<i id="mytasknum">${taskCount}</i></a></span>						
					</div> --%>
					

					<div class="commonumber">
						<shiro:hasPermission name="front:manager:accept">  
					    	<span>当天接待人数<a href="javascript:;" class="iframe_src" data-src="${ctx }/access/query.htm?type=1"><b id="addcustomer">${accessCount}</b></a></span>
						</shiro:hasPermission>
						<shiro:hasPermission name="front:manager:accept or customerservice:zixun:manager">  
							<span>照护接待人数<b id="addcarefulcustomer">${recCount}</b></span>
						</shiro:hasPermission>
						<shiro:hasPermission name="customerservice:zixun:manager">  
							<span>我的照护接待人数<a href="javascript:;" class="iframe_src" data-src="${ctx }/service/query.htm?type=1"><b id="addcarefulcustomermy">${recCount1}</b></a></span>
						</shiro:hasPermission>
						<shiro:hasPermission name="front:manager:accept or medicalbeauty:zixun:manager">  
							<span>医美接待人数<b id="addbeautifulcustomer">${mbCount}</b></span>
						</shiro:hasPermission>
						<shiro:hasPermission name="medicalbeauty:zixun:manager">  
							<span>我的医美接待人数<a href="javascript:;" class="iframe_src" data-src="${ctx }/mb/query.htm?type=1"><b id="addbeautifulcustomermy">${mbCount1}</b></a></span>
						</shiro:hasPermission>
						<shiro:hasPermission name="front:manager:accept or health:zixun:manager">  
							<span>健康接待人数<b id="addhealthcustomer">${heaCount}</b></span>
						</shiro:hasPermission>
						<shiro:hasPermission name="health:zixun:manager">  
							<span>我的健康接待人数<a href="javascript:;" class="iframe_src" data-src="${ctx }/health/query.htm?type=1"><b id="addhealthcustomermy">${heaCount1}</b></a></span>
						</shiro:hasPermission>
					</div>
					
				</div>	
				
					<!-- <span><a href="javascript:void(0);" id="logout">退出</a></span> -->
			
					
				<section class="area">
					<div>
						<iframe id="content" class="right_html" src="" frameborder="0" scrolling="auto" style="width: 100%;overflow-y:auto;"></iframe>
					</div>
				</section>
				<!-- <section class="area" style="display: none;">
					<aside class="notice fr">
						<dl>
							<dt>系统公告</dt>
							<dd><a href="javascript:;">系统公告系统公告系统公告</a></dd>
							<dd><a href="javascript:;">系统公告系统公告系统公告</a></dd>
							<dd><a href="javascript:;">系统公告系统公告系统公告</a></dd>
							<dd><a href="javascript:;">系统公告系统公告系统公告</a></dd>
							<dd><a href="javascript:;">系统公告系统公告系统公告</a></dd>
							<dd><a href="javascript:;">系统公告系统公告系统公告</a></dd>
						</dl>
					</aside>
				</section> -->
			</div>
		</div>
<%@ include file="/common/include-footer.jsp" %>
 <script src="${ctx }/static/js/main.js"></script>
</body>
</html>